package stagefour.service;

import stagefour.model.ResultModel;
import stagefour.model.UserModel;


public interface UserService {
    ResultModel selectUser(String username);

    ResultModel getUser(Integer userid);

    ResultModel addUser(UserModel userModel);

    ResultModel updateUser(UserModel userModel);

    ResultModel deleteUser(Integer userid);

    ResultModel login(UserModel userModel);

    ResultModel changePassword(UserModel userModel,String newPassword);

    ResultModel findAll();
}
